import { CHANGETREEID } from '@/redux/constant';

const initData = '0-0'
export default  function CheckTree_reducer(preState = initData, action) {
  const { type, data } = action
  switch (type) {
    case CHANGETREEID:
      return data
    default:
      return preState
  }
}
